#ifndef BLOCK_H
#define BLOCK_H
#include "ishape.h"

class CBlock :public IShape
{

private:

    int m_live;             //  砖块的生命
public:
    CBlock();
    void setDec(int live =1);
    int getLive();
    // IShape interface
public:
    void paint(QPainter *painter);
};

#endif // BLOCK_H
